[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ENDWHILE conditional while loop end:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Syntax:
~~~~~~~

  ENDWHILE [ <Expr> ]

Description:
~~~~~~~~~~~~
The loop is ended if <Expr> is true if <Expr> is not set it is replaced with
false and the loop is repeated.


Example:
~~~~~~~~
  SET EXACT OFF
  LOCATE FOR field->Name="Nov"
  WHILE FOUND()
    ? field->Name, field->Salary
    CONTINUE
  ENDWHILE Alert("Continue search?",{"Yes,"No"})<>1
  ...

Source file is Object.ch

See Also: REPEAT UNTIL EXITIF LOOPIF
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson